package cn.fboost.mtos.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 添加管理员请求
 */
@Data
public class AdminCreateRequest {
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;
}
